<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      th:replace="layout/commonlayout(title='实验室日志信息')"><!-- layout文件路径-->


<th:block th:fragment="css">
    <!--如果没有内容，请保持 -->
    <!--DataTables [ OPTIONAL ]-->
    <link rel="stylesheet" href="/plugins/ztree/css/zTreeStyle/zTreeStyle.css">
</th:block>

<div th:fragment="content">
    <!--Page content-->
    <!--===================================================-->
    <div id="page-content">
        <div class="panel">
            <div class="panel-body">
                <input  type="hidden" id="hidId" />

                <form  id="formLabLogInfo" class="smart-form" method="get" action="">
                    <fieldset>
                        <input  type="hidden" name="id" />


                        <div class="row">
                            <div class="col-sm-6">
                                <div class="form-group">
                                    <label>班级名称</label>
                                    <input id="className" name="className" class="form-control"  type="text"  readonly>

                                </div>
                            </div>

                            <div class="col-sm-6">
                                <div class="form-group">
                                    <label>班级人数</label>
                                    <input type="text"  class="form-control"  placeholder="" id="classPersonNumber" name="classPersonNumber" readonly>

                                </div>
                            </div>
                        </div>

                        <div class="row">
                            <div class="col-sm-6">
                                <div class="form-group">
                                    <label>课程名</label>
                                    <input placeholder="" id="courseName" name="courseName" class="form-control"  type="text"  readonly>

                                </div>
                            </div>

                            <div class="col-sm-6">
                                <div class="form-group">
                                    <label>学期名</label>
                                    <input type="text"  class="form-control"  placeholder="" id="termName" name="termName" readonly>

                                </div>
                            </div>
                        </div>

                        <div class="row">
                            <div class="col-sm-6">
                                <div class="form-group">
                                    <label>班级类型</label>
                                    <select id="courseType" name="courseType" class="chosen-select" data-placeholder="请选择班级类型" disabled="disabled">
                                        <option value="1">本科生</option>
                                        <option value="2">研究生</option>
                                        <option value="3">其它</option>
                                    </select>
                                </div>
                                <div class="col-sm-6">
                                    <div class="form-group">
                                        <label>老师</label>
                                        <input type="text"  class="form-control"  placeholder="" id="userName" name="userName" readonly>

                                    </div>
                                </div>
                            </div>
                        </div>



                        <div class="row">
                            <div class="col-sm-6">
                                <div class="form-group">
                                    <label>实验室</label>
                                    <input type="text"  class="form-control"  placeholder="" id="labName" name="labName" readonly>
                                </div>
                            </div>
                            <div class="col-sm-6">
                                <div class="form-group">
                                    <label>实验类型</label>
                                    <select id="labType" name="labType" class="chosen-select" data-placeholder="请选择实验类型">
                                        <option value="1">演示</option>
                                        <option value="2">验证</option>
                                        <option value="3">综合</option>
                                        <option value="4">设计</option>
                                        <option value="5">其它</option>
                                    </select>
                                </div>
                            </div>
                        </div>

                        <div class="row">
                            <div class="col-sm-12">
                                <div class="form-group">
                                    <label>项目名</label>
                                    <input type="text"  class="form-control"  placeholder="" id="projectName" name="projectName">
                                </div>
                            </div>
                        </div>

                        <div class="row">
                            <div class="col-sm-6">
                                <div class="form-group">
                                    <label>第几周</label>
                                    <input type="text"  class="form-control"  placeholder="" id="week" name="week" >
                                </div>
                                <div class="col-sm-6">
                                    <div class="form-group">
                                        <label>星期</label>
                                        <input type="text"  class="form-control"  placeholder="星期几" id="dayOfWeek" name="dayOfWeek" >

                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="row">
                            <div class="col-sm-6">
                                <div class="form-group">
                                    <label>具体时间</label>
                                    <input type="date"  class="form-control"  placeholder="" id="courseTime" name="courseTime" readonly>
                                </div>
                            </div>
                            <div class="col-sm-6">
                                <div class="form-group">
                                    <label>实验要求</label>
                                    <select id="requestType" name="requestType" class="chosen-select" data-placeholder="请选择实验要求类型">
                                        <option value="1">选修</option>
                                        <option value="2">必修</option>
                                        <option value="3">其它</option>
                                    </select>
                                </div>
                            </div>
                        </div>

                        <div class="row">
                            <div class="col-sm-6">
                                <div class="form-group">
                                    <label>从第几节开始</label>
                                    <input type="text"  class="form-control"  placeholder="" id="sectionFrom" name="sectionFrom">
                                </div>
                            </div>
                            <div class="col-sm-6">
                                <div class="form-group">
                                    <label>到：</label>
                                    <input type="text"  class="form-control"  placeholder="" id="sectionTo" name="sectionTo">
                                </div>
                            </div>
                        </div>

                        <div class="row">
                            <div class="col-sm-12">
                                <div class="form-group">
                                    <label>实验内容</label>
                                    <textarea rows="3"  class="form-control"  placeholder="内容，默认为实验内容" id="content" name="content"></textarea>
                                </div>
                            </div>
                        </div>

                        <div class="row">
                            <div class="col-sm-6">
                                <div class="form-group">
                                    <label>建立时间</label>
                                    <input type="date"  class="form-control"  placeholder="" id="createTime" name="createTime" readonly>
                                </div>
                            </div>
                        </div>

                    </fieldset>
                </form>

                <div class="form-group">
                    <a   class="btn btn-info btn-labeled pull-right" onclick="insertOrUpdateForm();">
                        <i class="btn-label ion-ios-checkmark"></i>提交</a>
                </div>

                <!--<div class="form-group">
                    <a   class="btn btn-info btn-labeled pull-right" onclick="insertOrUpdateForm();">
                        <i class="btn-label ion-ios-checkmark"></i>提交</a>
                </div>-->
            </div>
        </div>
    </div>
    <!--===================================================-->
    <!--End page content-->
</div>

<div th:fragment="scripts">
    <!--如果没有内容，请保持 -->
    <script src="/plugins/ztree/js/jquery.ztree.all.js"></script>
    <script src="/js/editCommon.js"></script>
    <script src="/pagejs/lablog/labloginfo/edit.js"></script>
</div>

</html>
